

function stopJob(id){
   if(id == ''){
      noticeMsg("id不可以为空");
      return;
   }
   if(confirm("确定终止这条记录")){
      $.ajax({
               url:"/record/stop/"+id,
               dataType:"json",
               success:function(data){
                  if(data.returnCode == '0000'){
                    noticeMsg("成功",0,1);
                  }else{
                    noticeMsg(data.returnMsg==null?data.errorMsg:data.returnMsg,1);
                  }
               },
               error:function(){
                  noticeMsg("发生错误",1);
               }
            });
   }
}

